package com.codedancer.campus.client.api.sms.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(description = "短信发送Ro")
public class SendSmsRo {

    @ApiModelProperty("手机号")
    @NotEmpty(message = "请输入手机号")
    private String phone;

    @ApiModelProperty("短信类型 1表示登录手机号 2表示修改手机号")
    @NotNull(message = "短信类型为空")
    private Integer type;
}
